package com.yunji.product.dao;

import com.yunji.common.base.IBaseDao;
import com.yunji.common.model.cache.ProductAttrCacheDTO;
import com.yunji.product.bo.ProductAttrsListQueryBO;
import com.yunji.product.domain.ProductAttrDO;

import java.util.List;

public interface IProductAttrsDao extends IBaseDao<ProductAttrDO> {
    List<ProductAttrDO> search(ProductAttrsListQueryBO bo);

    int statsOfProductAttr(Long... ids);

    boolean deleteByProductIds(Long... ids);

    List<ProductAttrDO> listByProductId(Long productId);
}
